#include "stdafx.h"
#include "CTemperatureText.h"



CTemperatureText* CTemperatureText::m_pInstance = 0;

CTemperatureText::CTemperatureText(const WCHAR * name,const WCHAR * text, RECT rct ,const WCHAR * font,COLORREF nColor,bool m_bScroll,const WCHAR * align ):CStaticText( name, text, rct , font,nColor,m_bScroll,align )
{
	
}
CTemperatureText::~CTemperatureText(void)
{
}

CTemperatureText* CTemperatureText::getInstance(const WCHAR * name,const WCHAR * text, RECT rct ,const WCHAR * font,COLORREF nColor,bool m_bScroll,const WCHAR * align)
{
	if (!m_pInstance)
		m_pInstance = new CTemperatureText(name, text, rct , font,nColor,m_bScroll,align);
	return m_pInstance;

}



CTemperatureInfo* CTemperatureInfo::m_pInstance = 0;

CTemperatureInfo::CTemperatureInfo(const WCHAR * name,const WCHAR * text, RECT rct ,const WCHAR * font,COLORREF nColor,bool m_bScroll,const WCHAR * align ):CStaticText( name, text, rct , font,nColor,m_bScroll,align )
{

}
CTemperatureInfo::~CTemperatureInfo(void)
{
}

CTemperatureInfo* CTemperatureInfo::getInstance(const WCHAR * name,const WCHAR * text, RECT rct ,const WCHAR * font,COLORREF nColor,bool m_bScroll,const WCHAR * align)
{
	if (!m_pInstance)
		m_pInstance = new CTemperatureInfo(name, text, rct , font,nColor,m_bScroll,align);
	return m_pInstance;

}
